#include <stdio.h>
#include <time.h>

int main()
{
	
	int n = 1000000;
	int x = 1;
	int begin1 = clock();
	for (int i = 0; i < n; i++)
	{
		++x;
	}
	int end1 = clock();
	printf("%d\n", x);

	
	n = 1000000;
	x = 0;
	int begin2 = clock();
	for (int i = 0; i < n; i++)
	{
		++x;
	}
	int end2 = clock();


	printf("%d\n", x);
	printf("%d ms\n", end1 - begin1);
	printf("%d ms\n", end2 - begin2);

	return 0;
}